{% extends "base.html" %}
{% block Title %}登录{% endblock %}

{% block content %}
<br />
    <form action="" method="POST" class="form-horizontal">
    {% csrf_token %}
    {{ form.non_field_errors }}
    <table align="center" style="border:solid 0px;border-spacing:3px;">
    <tr height="40">
        <td colspan="2">
        <h1 style="font-size:18px">登录畜牧大集网</h1>
        </td>
    </tr>
    <tr height="35">
        <td width="50"><label for="id_username">用户名:</label></td>
        <td>{{ form.username }}</td>
    </tr>
    <tr height="35">
        <td><label for="id_password">密　码:</label></td>
        <td>{{ form.password }}</td>
    </tr>
    <tr height="35">
        <td colspan="2" align="center">
            <input type="submit" class="btn btn-primary" value="登录" />　
            <input type="reset" class="btn" value="取消" />
        </td>
    </tr>
    </table>
    </form>

<br />
{% endblock %}
